Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

[fs] WriteStream wrongly imports ReadStream #248

Merged
merged 2 commits into from
May 29, 2020
Merged

[fs] WriteStream wrongly imports ReadStream #248

merged 2 commits into from
May 29, 2020

Conversation

exoego
Copy link
Owner

@exoego exoego commented May 29, 2020

All other @JSImport matched its class names.

@exoego exoego added the bug Something isn't working label May 29, 2020
@exoego exoego force-pushed the fix-jsimport branch 2 times, most recently from ce19122 to 7a78579 Compare May 29, 2020 11:18
assert(new WriteStream("package.json") !== null)
assert(new WriteStream(Buffer.from("package.json")) !== null)
assert(new WriteStream(new URL(s"file:///${dirname}/package.json")) !== null)
assert(new WriteStream("NO_SUCH_FILE").writableLength === 0)
Copy link
Owner Author

@exoego exoego May 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note) Opening with correct WriteStream empty its file, so changed the file to be opened.

@exoego exoego merged commit 6d9dc88 into master May 29, 2020
@exoego exoego deleted the fix-jsimport branch May 29, 2020 11:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant